module.exports = {
  checkAccountAndUser: 'SELECT * FROM user WHERE account = ? or user_name = ?',
  updateUser: 'INSERT INTO user (avatar, account, user_name, user_password) VALUES(?, ?, ?, ?)',
  upload: 'INSERT INTO avatar (file_name, path_name) VALUES(?, ?)',
  loginSql: 'SELECT * FROM user WHERE account = ? and user_password = ?',
  getArticleList: 'SELECT * FROM article',
  addArticle: 'INSERT INTO article (article_title, article_content, author_id, author_name) VALUES(?, ?, ?, ?)'
}
